﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PloobsEngine.DataAquisition
{
    public enum MethodPart
    {
        START,END
    }

    public class MethodDataFormat : DataFormat
    {
        DateTime start;
        MethodPart part;

        public MethodPart Part
        {
            get { return part; }
            set { part = value; }
        }
       String methodName;

       public String MethodName
       {
           get { return methodName; }
           set { methodName = value; }
       }

        public MethodDataFormat(MethodPart part , String methodName)
        {
            this.part = part;
            this.methodName = methodName;
            start = DateTime.Now;
                
        }

        #region DataFormat Members
      
        public DateTime TimeStamp
        {
            get { return start; }
        }

        #endregion
    }
}
